import request from '@/utils/request'
//货位统计报表的接口
export function wmsReportUnitStatistic(query) {
  return request({
    url: '/yxl/billReport/countUnitNum',
    method: 'get',
    params: query
  });
}
//基础数据报表
export function wmsReportBasicStatistic(query) {
  return request({
    url: '/stoUnit/wmsReportBasicStatistic',
    method: 'get',
    params: query
  });
}
//获取物料名称
export function getnccMaterial(query){
  return request({
    url: '/select/nccMaterial',
    method: 'get',
    params: query
  });
}
//呆滞物料分析
export function wmsReportSluggishStatistic(query){
  return request({
    url: '/stoUnit/wmsReportSluggishStatistic',
    method: 'get',
    params: query
  });
}
//不合格
export function wmsReportUnqualifiedStatistic(query){
  return request({
    url: '/stoUnit/wmsReportUnqualifiedStatistic',
    method: 'get',
    params: query
  });
}
//基础的折线图
export function wmsReportTurnoverRate(query){
  return request({
    url: '/stoUnit/wmsReportTurnoverRate',
    method: 'get',
    params: query
  });
}
//产品发运记录
export function wmsReportDeliveryStatistic(query){
  return request({
    url: '/stoUnit/wmsReportDeliveryStatistic',
    method: 'get',
    params: query
  });
}
//入厂总账
export function wmsReportReceivingStatistic(query){
  return request({
    url: '/stoUnit/wmsReportReceivingStatistic',
    method: 'get',
    params: query
  });
}
//周转率畅销
export function querySalableDrug(query){
  return request({
    url: '/yxl/billReport/querySalableDrug',
    method: 'get',
    params: query
  });
}
//周转率呆滞
export function queryUnsalableDrug(query){
  return request({
    url: '/yxl/billReport/queryUnsalableDrug',
    method: 'get',
    params: query
  });
}

